#ifndef EDITARCHWIDGET_H
#define EDITARCHWIDGET_H

#include <QtGui>
#include "componentstab.h"
#include "triggerstab.h"
#include "attributestab.h"
class EditArchWidget : public QWidget
{
    Q_OBJECT

    ComponentsTab *cmptab;
    TriggersTab *trigtab;
    AttributesTab *attrtab;
    QLineEdit *line;
    AED_Archtype *m_arch;

public:
    explicit EditArchWidget(ImageManager *imgmngr, ImageModel *imgmodel, ScriptModel *scriptmodel, QWidget *parent = 0);
    void setArchtype(AED_Archtype* arch);
signals:
    void nameChanged();
public slots:
    void UpdateName(const QString &name);
    void UpdateArchtype();
    
};

#endif // EDITARCHWIDGET_H
